#ifndef _STORE_UI_H_
#define _STORE_UI_H_
#include "screen.h"

class Player;
class NPC;
class NetStream2;
class StoreUI:public Screen
{
private:
	enum{ICON_SIZE = 63};
	
	ImageInfo* playerItem[16];
	ImageInfo* npcItem[16];
	Player* mainPlayer;
	NPC* pNpc;
	Button* exitBtn;
	NetStream2* netStream;
public:
	bool bShow;
	StoreUI(float, float, int, int);
	void setMainPlayer(Player* pPlayer, NetStream2* pStream);
	void setNPC(NPC* npc);
	void setData(bool bShow, int npcID);
	void checkArea(int, int);
	void setPos(float, float, float, float);
};

#endif